import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { DynamicsComponent } from './dynamics.component';
import { WellComponent } from './well/well.component';
import {DistributeComponent} from "./distribute/distribute.component";

const routes: Routes = [{
  path: '',
  component: DynamicsComponent,
  children: [{
    path: 'distribute',
    component: DistributeComponent,
  },{
    path: 'well',
    component: WellComponent,
  }],
}];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class DynamicsRoutingModule { }
